handle token expiration in node js